#ifndef __RADIOBUTTON_H_ 
#define __RADIOBUTTON_H_ 

#include <Format.h>

struct RadioButton
{    
	virtual void onSelected(Format& format) = 0;   
	virtual ~RadioButton() {}
};  

class FormatRadioButton:public RadioButton
{
public:
	FormatRadioButton(Format& format);
	void onSelected(Format& format);
	Format& getSelectedFormat();
private:
	Format* pFormat_m;	
};

#endif
